package com.gxa.ssm340.mapper;

import com.gxa.ssm340.entity.dto.CollectCpnDTO;
import com.gxa.ssm340.entity.pojo.Coupon;

import java.util.Date;
import java.util.List;

public interface CouponsMapper {

    List<Coupon> selectNotGetCpn(String phone);
    List<Coupon> selectGetCpn(String phone);
    List<Coupon> selectOverExpire(Date date);


    Integer addGet(CollectCpnDTO collectCpnDTO);


    List<Coupon> selectUsedCpn(String phone);

    List<Coupon> selectMyOverExpire(String phone);

}
